﻿using System;
using System.Collections.Generic;
using Expenses.Domain.Entities;

namespace Expenses.DAL.Interfaces
{
    public interface IExpenseRepository
    {
        void Add( Expense expense);
        void Update(Expense expense);
        void Remove(Expense expense);
        Expense GetById(Guid expense);
        Expense GetByName(string name);
        ICollection<Expense> GetAllActive();
        ICollection<Expense> GetAll();
      //ICollection<Product> GetByCategory(string category);
    }
}
